<?php

namespace app\modules\user\controllers;

use yii;
use yii\web\Controller;
use common\models\Tools;
use common\models\Goods;
use common\models\GoodsAttr;
use common\models\GoodsImg;
use common\models\CateAttr;
use common\models\CateAttrVal;
/**
 * 营销合伙人
 */
class InviterController extends Controller
{
    public $enableCsrfValidation=false;
    public $leftmenu;
    
    /**
     * 营销合伙人入驻申请资料完善页面
     * @return string
     */
    public function actionApply()
    {
        //检测登录情况
        if (Yii::$app->user->isGuest) {
            return $this->redirect('/site/login?returnurl=/user/seller/request');
        }
        $this->getView()->title = "营销合伙人完善资料";
        $this->layout = "/personal_open";
        $this->leftmenu='sellerrequest';
        return $this->render('apply',[]);
    }
}
